
.row
    if username
      each image in images
          .card.col-12.col-md-4.ml-5.mt-5
            img.card-img-top.mt-2(src=`/uploads/${image.diskfilename}`, alt=image.title, )
            .card-body
              h5.card-title= image.title
              p.card-text= image.description
              a(href=`/images/${image._id}`).btn.btn-primary Go
    else
      each image in images
          .card.col-12.col-md-4.ml-5.mt-5
            img.card-img-top.mt-2(src=`/uploads/${image.diskfilename}`, alt=image.title, )
            .card-body
              h5.card-title= image.title
              p.card-text= image.description